import axios from '@/api/fetch';
// import * as types from './types';
import SERVER from '@/api/server';

// 销售回访得分统计
export const getSaleVisitScore = params => axios.get(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customerCare/report/salesVisitScoreCount`, {
  params
});

// 导出销售回访得分统计报表
export const exportSaleVisitScore = params => axios.get(`${SERVER.DMSCLOUD_CUSTOMERREPAIR}/customerCare/report/exportSaleVisitScore`, {
  params,
  responseType: 'arraybuffer'
});
